﻿using System;

namespace Runtime.Services.BattleAttack {

    /// <summary>
    /// 战斗攻击子弹提供者
    /// </summary>
    public interface IDFR_BattleAttackBulletProvider {

        /// <summary>
        /// 飞行资产
        /// </summary>
        string BulletFlyAssetKey { get; }

        /// <summary>
        /// 击中资产
        /// </summary>
        string BulletHitAssetKey { get; }

        /// <summary>
        /// 飞行速度
        /// </summary>
        F64 BulletFlySpeed { get; }
    }

    public interface IDFR_BattleAttackBulletSetter {

        /// <summary>
        /// 设置飞行速度，每秒多少单元格
        /// </summary>
        /// <param name="value">值</param>
        void SetBulletFlySpeed(F64 value);

        /// <summary>
        /// 设置子弹资产
        /// </summary>
        /// <param name="fly">飞行</param>
        /// <param name="hit">击中</param>
        void SetBulletAssetKey(string fly, string hit);
    }
}
